/*
 * Copyright 2005-2013 biz-united. All rights reserved.
 * Support: http://www.biz-united.com.cn
 * License: http://www.biz-united.com.cn/?page_id=5&act=3
 */
package net.biz.dao;

import java.math.BigDecimal;

import net.biz.entity.OrderItem;

/**
 * Dao - 订单项
 * 
 * @author BIZ Team
 * @version 3.0
 */
public interface OrderItemDao extends BaseDao<OrderItem, Long> {

	/**
	 * @param id  订单id
	 * @param isShopAdd 是否门店添加
	 * @param differencePrice 差价
	 * @param shopSchemeProduct 替换主材
	 * @return
	 */
	int updateSchemeProduct(Long id, Boolean isShopAdd, BigDecimal differencePrice, Long shopSchemeProduct);
}